// vue.config.js
module.exports = {
	css: {
		loaderOptions: {
			sass: {
				implementation: require('sass'), // This line must in sass option
			},
		},
	},
	devServer: {
		port: 8888,
		open: true,
		proxy: {
			// 使用 proxy 实例
			'/api': {
				target: 'https://5gmeetingmid.pathologyunion.com/',
				// target: "http://192.168.5.229:3982/",
				changeOrigin: true,
				pathRewrite: {
					"^/api": "",
				},
			}
		},
		disableHostCheck: true,
	}
}